{{ if .HasChildren }}
  {{ partial "header/header-mobile-option-nested.html" . }}
{{ else }}
  {{ partial "header/header-mobile-option-simple.html" . }}
{{ end }}
